package com.us.usws.site.ws.entity.channel.studentchannel;

import org.codehaus.jackson.annotate.JsonProperty;

import com.us.usws.model.flat.channel.DOChannel;

public class WSStudentChannel {

	@JsonProperty("id")
	private String uid;

	@JsonProperty("title")
	private String name;

	@JsonProperty("icon")
	private String picture;

	private String url;

	@JsonProperty("sub_channels_url")
	private String subChannelsUrl;

	/**
	 * leave below as empty:
	 * picture
	 * url
	 * subChannelsUrl
	 * focus
	 * @param c
	 */
	public WSStudentChannel(DOChannel c) {
		this.uid = c.getUid();
		this.name = c.getName();
	}

	/**
	 * @return the subChannelsUrl
	 */
	public String getSubChannelsUrl() {
		return subChannelsUrl;
	}

	/**
	 * @param subChannelsUrl the subChannelsUrl to set
	 */
	public void setSubChannelsUrl(String subChannelsUrl) {
		this.subChannelsUrl = subChannelsUrl;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}
